package com.aboo.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.aboo.po.AdminUserPO;
import com.aboo.po.Page;
import com.aboo.pub.exception.BasicException;
import com.aboo.pub.result.ResultInfo;

public interface AdminUserService {
	
	public void login(ResultInfo ri, HttpServletRequest request, String loginName, String pwd) throws BasicException;
	
	public void saveAdminUser(ResultInfo ri, AdminUserPO param) throws BasicException;
	
	public void deleteAdminUser(ResultInfo ri, List<String> userIds) throws BasicException;
	
	public void updateAdminUser(ResultInfo ri, AdminUserPO param) throws BasicException;
	
	public void findUserList(ResultInfo ri, AdminUserPO param, Page page) throws BasicException;
	
	public void findUserCount(ResultInfo ri, AdminUserPO param) throws BasicException;
	
	public void findUser(ResultInfo ri, AdminUserPO param) throws BasicException;
	
	public void findUserMenuList(ResultInfo ri, Integer userId) throws BasicException;
	
	public void findUserRoleList(ResultInfo ri, Integer userId) throws BasicException;

	public void saveUserRoleList(ResultInfo ri, Integer userId,	List<String> roleIds) throws BasicException;
	
}
